[MIPS] Fix UNCACHED_SDRAM
authorVlad Lungu <[email protected]>
Sun, 21 Oct 2007 13:10:10 +0000 (22:10 +0900)
committerShinya Kuribayashi <[email protected]>
Sun, 21 Oct 2007 13:10:10 +0000 (22:10 +0900)
PHYSADDR is for physical address, KSEG1ADDR is for uncached.

Signed-off-by: Vlad Lungu <[email protected]>
Signed-off-by: Shinya Kuribayashi <[email protected]>
include/asm-mips/addrspace.h

index b8214b1c8595cdf82d862d1e5fd8cb60ca1037c3..0e6abd7d0faa914c495dcc50a354c6ca730515db 100644 (file)
@@ -49,7 +49,7 @@
    cannot access physical memory directly from core */
 #define UNCACHED_SDRAM(a) (((unsigned long)(a)) | 0x20000000)
 #else  /* !CONFIG_AU1X00 */
-#define UNCACHED_SDRAM(a) PHYSADDR(a)
+#define UNCACHED_SDRAM(a) KSEG1ADDR(a)
 #endif /* CONFIG_AU1X00 */
 #endif /* __ASSEMBLY__ */
 /*